package org.jeecg.modules.friends.service;

import org.jeecg.modules.friends.base.HttpReturn;
import org.jeecg.modules.friends.base.PageRsp;
import org.jeecg.modules.friends.service.req.MomentsReq;
import org.jeecg.modules.friends.service.req.PublishMomentsReviewReq;
import org.jeecg.modules.friends.service.req.SelectedPageListReq;
import org.jeecg.modules.friends.service.req.SetHiddenReq;
import org.jeecg.modules.friends.service.req.SetSelectedReq;
import org.jeecg.modules.friends.service.rsp.MomentsInfoRsp;
import org.jeecg.modules.friends.service.rsp.MomentsRsp;
import org.jeecg.modules.friends.service.rsp.UnReadCountRsp;
import org.jeecg.modules.friends.user.entity.User;

/**
 * Created on 2025-01-21
 */
public interface NewMomentsService {

    HttpReturn<PageRsp<MomentsInfoRsp>> selectedPageList(SelectedPageListReq req, User user);

    void publishMomentsReview(PublishMomentsReviewReq req, User user);

    void setSelected(SetSelectedReq req);

    void setHidden(SetHiddenReq req);

    // 后台列表插叙
    HttpReturn<PageRsp<MomentsRsp>> momentsPageList(MomentsReq req);

    // 获取未读消息
    UnReadCountRsp getUnReadMoments(User user);
    // 获取未读消息数
    Long getUnReadMomentsCount(User user);

}
